Try to fix crashes introduced by rev 109972.
authorJan D. <jan.h.d@swipnet.se>
Sun, 16 Sep 2012 09:11:50 +0000 (11:11 +0200)
committerJan D. <jan.h.d@swipnet.se>
Sun, 16 Sep 2012 09:11:50 +0000 (11:11 +0200)
commit1e9ef8ce382e0571b5c0bb7545d705afe15b1ddf
treea7bf411c5b011a76f1aca729fd92e71753f4dd0e
parent106742b8b07ed552f99fade1d16ffadac151a606
Try to fix crashes introduced by rev 109972.

* nsfns.m (Fx_open_connection): Move initialization of ns_*_types
to ns_term_init to avoid memory leak.

* nsterm.m (ns_update_begin): Initialize bp after lcokFocus, use
explicit retain/release.
(ns_term_init): Only allow one display.  Initialize outerpool and
ns_*_types.
src/ChangeLog
src/nsfns.m
src/nsterm.m